/**
 * ClassName : PACKAGE_NAME.RunNian2
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2020/12/9 18:10
 */
public class RunNian2 {
    public static void main(String[] args) {
        for (int i = 0; i < 3000 ; i++) {
//            if(i%4==0&&i%100!=0){
//                System.out.println(i);
//            }
            if(i%4==0){
                if(i%100!=0){
                    System.out.println(i);
                }
            }
            if (i%400==0){
                System.out.println(i);
            }
        }
    }
}
